﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using OnlineCooperation.DB;
using OnlineCooperation.Entity;
using System.Web.SessionState;

namespace OnlineCooperation
{
    /// <summary>
    /// reply 的摘要说明
    /// </summary>
    public class reply : IHttpHandler, IRequiresSessionState
    {

        public void ProcessRequest(HttpContext context)
        {
            /*context.Response.ContentType = "text/plain";
            string text = context.Session["UserName"].ToString()+":"+context.Request["text"];
            string id = context.Request["id"];
            int tid=int.Parse(context.Session["TeamID"].ToString());
            TeamDB td=new TeamDB();
            Team t= td.GetTeamByID(tid);
            PostDB PDB = new PostDB(t, 2);
            Post p = new Post(PagePost[int.Parse(id)].id, 1, text, 0, tid, DateTime.Now);
            PDB.Insert(p);
*/

        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}